package com.tanjun.userservice.web.controller;

import com.tanjun.web.annotation.HasRole;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class TestController {

    @GetMapping("/open/test")
    @HasRole(value = "test")
    public String test() {
        return "test";
    }
}
